#pragma strict
var CameraObject : Transform;
var followSpeed : int;

function Start() {
	followSpeed = 4;
}

function Update () {
	transform.position.y = Mathf.MoveTowards(transform.position.y, CameraObject.position.y, followSpeed * Time.smoothDeltaTime);
}